package com.mybatisflex.demo.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

/**
 * @author 王帅
 * @since 2023-08-03
 */
@Data
@Table("tb_good")
public class Good {

    @Id(keyType = KeyType.Auto)
    private Integer id;
    private String name;
    private Double price;

}